package com.demo.behavioral.mediator;

public abstract class LettingAgentMember {
	
	private String userName;
	
	//子类可跳过get方法直接访问的属性
	protected LettingAgent lettingAgent;
	
	public LettingAgentMember(String userName,LettingAgent lettingAgent){
		this.userName = userName;
		this.lettingAgent = lettingAgent;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public LettingAgent getLettingAgent() {
		return lettingAgent;
	}

	public void setLettingAgent(LettingAgent lettingAgent) {
		this.lettingAgent = lettingAgent;
	}
	
	public abstract void getLettingAgentMsg(); 

}
